#ifndef RENDER_TEXTURE2D_H
#define RENDER_TEXTURE2D_H

#include <render/texture.h>

namespace yam3d
{
namespace graphics
{
    class Image2D;
}


namespace render
{

    class Texture2D : public Texture
    {
    public:
        Texture2D(graphics::Image2D* img, bool genMipMaps=true);
        ~Texture2D();

        void bind(int samplerUnit = 0);

    private:

        Texture2D();
        Texture2D(const Texture2D&);
        Texture2D& operator=(const Texture2D&);
    };


}
}
#endif // RENDER_TEXTURE2D_H
